package com.school.HomeWork.Factory;

public class Main {
    public static void main(String[] args) throws Exception {
       Nvwa manFact = new ManFact();
       Nvwa woFact = new WomenFact();
       Nvwa roFact = new RobotFact();

       Person man = manFact.create();
       Person woman = woFact.create();
       Person robot = roFact.create();

    }
}
